
/*
document.getElementById("TPL_password").value="aaa111";
document.getElementsByName("TPL_username")[0].value="lenel_test";
window.setTimeout((function(){
	document.getElementById("J_StandardForm").submit()
}),2000)
*/

(function(){
	try{
		var sp = document.getElementById("J_StandardPwd");
		sp.getElementsByTagName("input")[0].value="aaa111";
		document.getElementById("TPL_username_1").value="lenel_test";
		window.setTimeout((function(){
			document.getElementById("J_StaticForm").submit();
		}),2000)
	}catch(err){
		try{
			console.log("auto login error!");
		}catch(err){
		}
	}
})();